﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Willow.Authorization
{
    public class LoginModule
    {
        public System.Guid Id { get; set; }
        public string Name { get; set; }
        public Nullable<System.Guid> ParentId { get; set; }
        public string URL { get; set; }
        private string _icon;
        public string Icon
        {
            get { return string.IsNullOrEmpty(_icon) ? "icon-add" : _icon; }
            set { _icon = value; }
        }
        public int DisplayOrder { get; set; }
    }
}
